package polymorphism;

/**
 * @description: ToDo
 * @author: marin
 * @time: 2020/7/3 19:49
 */
public class Dog extends Animal{
    private Integer teeth;

    public Integer getTeeth() {
        return teeth;
    }

    public void setTeeth(Integer teeth) {
        this.teeth = teeth;
    }

    @Override
    public void eat() {
        super.eat();
        System.out.println("更喜欢狗狼");
    }
}
